#include "stdafx.h"

#include "shapes.h"

Shape::Shape( Body *pBody )
{
    mBody = pBody;
}

Shape::~Shape( void )
{
}

Vector2 Shape::GetPosition( void )
{
    return mBody->mPosition;
}

CircleShape::CircleShape( Body *pBody, float pRadius ) : Shape( pBody )
{
    mRadius = pRadius;

    mBody->mPosition += mRadius;
}

float CircleShape::GetRadius( void )
{
    return mRadius;
}
